<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>品牌修改</title>
    <css file="__STATIC__/hdjs/hdui.css"/>
    <css file="__STATIC__/bootstrap/css/bootstrap.min.css"/>
    <!-- 载入uploadify插件-->
    <js file="__STATIC__/jquery/jquery-1.7.2.min.js"/>
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <link href="__STATIC__/uploadify/uploadify.css" type="text/css" rel="stylesheet"></link>
    <style type="text/css">

    .hd-h70{
        width: 80px;
        height: 60px;
    }
    #uploadList ul li{
        float: left;
    }
    </style>

   
</head>
<body>
<div class="wrap">
    <div class="title-header">修改广告信息</div>
     <form action="" method="post" class="form-inline hd-form" enctype="multipart/form-data">
        <table class="table1">
            <tr class="tt">
            <a href="{|U:'Ad/add'}" class="btn btn-info btn-xs"><span class="glyphicon glyphicon-plus-sign"></span>添加广告</a>         
            
            </tr>
            <tr>
                <th class="w100">广告位置</th>
                <td>
                    <input type="text" name="position" class="w200" value="{$oldData.position}"/>
                </td>
                <td> </td>
            </tr>
            <tr>
                <th class="w100">图片</th>
                <td width="200">       
                    <input type="file" name="pic" value="{$oldData.pic}"/>
                </td>
                <td>
                    <img src="__ROOT__/{$oldData.pic}" alt="" />
                 </td>
            </tr>
            
             
            
            <tr>
                <th class="w100">链接地址</th>
                <td>
                    <input type="text" name="url" class="w200" value="{$oldData.url}"/>
                </td>
                <td>请填写链接跳转到的地址 </td>
            </tr>
            

                   
        </table>
        <div class="position-bottom">
            <input type="hidden" name="pic" value="{$oldData.pic}"/>
            <input type="submit" class="hd-success" value="修改"/>
        </div>
    </form>
</div>
</body>
</html>